Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

google-sr-selectors

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

google-sr-selectors

Html selectors for google search result pages.

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
97
decreased by-72.36%
Maintainers
1
Weekly downloads
 
Created
Source

google-sr-selectors

testing workflow npm downloads GitHub issues NPM license npm version CodeFactor

Set of html selectors for parsing google search results with jquery like modules (ex: cheerio).

Please note that the included selectors are intended for the non-Javascript version of Google Search page. These were obtained by appending &gbv=1 to the regular query link.

ex: (disable javascript, else it will redirect): query nodejs

What are selectors?

Selectors form the backbone of packages like google-sr. These are predefined strings that outline the structure of specific HTML code representing the desired value. By utilizing selectors, we gain the ability to parse the HTML and precisely extract the intended information.

This package exports the selectors used to extract search result values from, google html page data we receive. Offered for purposes of contributors and other developers interested in parsing raw google search html.

Supported types

The package currently only supports a limited amount of selectors

You can view them in the documentation

🌟 Suggest more to be added here

Disclaimer

This is not sponsored, supported, or affiliated with Google Inc.

Unlike the conventional recommendation of using the Google API, this module scrapes the Google search result page (which might potentially infringe upon Google's terms of service).

The source code within this repository is intended solely for educational purposes.

The author (typicalninja) & contributors takes no responsibility for any issues that arise from misuse, such as IP blocking by Google. Your discretion in usage is advised.

License

This repository and the code inside it is licensed under the Apache-2.0 License. Read LICENSE for more information.

Keywords

FAQs

Package last updated on 25 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc